import request from '@/utils/request'

export function fetchVisitCountList(query) {
  return request({
    url: '/visit/count',
    method: 'get',
    params: query
  })
}

export function getVisitByUserId(id, query) {
  return request({
    url: '/visit/' + id,
    method: 'get',
    params: query
  })
}
